package com.atmilan.quartz.model.dto.buyer;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import lombok.Data;

/**
 * 【请填写功能名称】对象 t_product
 * 
 * @author muyu
 * @date 2020-09-01
 */
@Data
public class ProductDO extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;
    private String productCode;
    private String productName;
    private Long categoryId;
    private Long brandId;
    private String productDetail;
    private Integer examineStatus;
    private Integer onSaleStatus;
    private String version;
    private String productEnName;
    private String tag;
    private String barCode;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productCode", getProductCode())
            .append("productName", getProductName())
            .append("categoryId", getCategoryId())
            .append("brandId", getBrandId())
            .append("productDetail", getProductDetail())
            .append("examineStatus", getExamineStatus())
            .append("onSaleStatus", getOnSaleStatus())
            .append("remark", getRemark())
            .append("version", getVersion())
            .append("productEnName", getProductEnName())
            .append("tag", getTag())
            .append("barCode", getBarCode())
            .append("isDeleted", getIsDeleted())
            .append("createTime", getCreateTime())
            .append("editTime", getEditTime())
            .append("creator", getCreator())
            .append("editor", getEditor())
            .toString();
    }
}
